:root{
  --bg:#071028;
  --card:#0c203d;
  --muted:rgba(204,214,246,0.62);
  --accent:#64FFDA;
}

*{box-sizing:border-box}
html,body{
  height:100%;
  margin:0;
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:var(--bg);
  color:#e6eef8;
}

header.site-header{
  position:fixed;
  left:0; right:0; top:0;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 28px;
  background:linear-gradient(180deg, rgba(7,16,40,0.85), rgba(7,16,40,0.6));
  backdrop-filter: blur(6px);
  z-index:50;
  border-bottom:1px solid rgba(255,255,255,0.02)
}
.brand{display:flex;align-items:center;gap:12px}
.brand .logo{
  width:46px;height:46px;
  border-radius:8px;
  overflow:hidden;
  background:linear-gradient(135deg,var(--accent),#66d8b4);
  display:flex;align-items:center;justify-content:center;
  font-weight:800;color:rgb(0, 115, 38);
}
.brand h1{font-size:16px;margin:0}

nav.main-nav{display:flex;gap:18px;align-items:center}
nav.main-nav a{
  color:#cfeaf0;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  padding:6px 8px;
  border-radius:6px
}
nav.main-nav a:hover{color:#061220}

.cta-resume{
  border:2px solid var(--accent);
  color:var(--accent);
  background:transparent;
  padding:8px 12px;
  border-radius:8px;
  font-weight:700
}
.cta-resume:hover{
  background:var(--accent);
  color:#052127
}


main{padding-top:84px;min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero{
  display:grid;
  grid-template-columns:1fr auto;
  gap:40px;
  align-items:center;
  padding:48px 24px;
  max-width:1100px;
  margin:0 auto
}
.intro .kicker{
  color:var(--accent);
  font-weight:700
}
.intro h2{
  font-size:44px;
  line-height:1;
  margin:10px 0;
  color:#e9f1ff
}
.intro p.lead{
  color:var(--muted);
  max-width:65ch
}

.btn-primary{
  display:inline-block;
  margin-top:20px;
  padding:10px 18px;
  border-radius:8px;
  border:2px solid var(--accent);
  background:transparent;
  color:var(--accent);
  text-decoration:none;
  font-weight:700;
}


.profile-card{
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  padding:22px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.03);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px
}
.profile-card img{
  width: 100%;
  max-width:300px;
  height:auto;
  object-fit: contain;  
  border-radius:8px;
  border:6px solid rgba(100,255,218,0.06);
}


.profile-card .name{
  font-weight:800;
  font-size:20px;
}
.profile-card .role{
  color:var(--muted);
  font-size:13px;
}

.skills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}
.pill{
  background:rgba(255,255,255,0.03);
  padding:6px 10px;
  border-radius:999px;
  color:var(--muted);
  font-weight:600;
  font-size:13px
}
#knapp {
  position: fixed;
  bottom: 27px;
  right: 24px;
  z-index: 1000;
  padding: 1rem 2rem;
  font-size: 1rem;
  background: black;
  color: rgb(47, 73, 145);
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: 0.3s;
}
#knapp:hover {
  background: #424242;
}


.projects-section{
  padding:28px 24px;
  max-width:1200px;
  margin:0 auto
}

.projects-header{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px
}

.projects-header h3{
  margin:0;
  font-size:20px
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:18px
}

.card{
  background:var(--card);
  padding:18px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.03);
  min-height:180px;
  display:flex;
  flex-direction:column;
  gap:12px
}

.card .thumb{
  width:100%;
  height:110px;
  border-radius:6px;
  object-fit:cover;
  background:linear-gradient(180deg,#05314a,#07243a)
}

.card h4{margin:0}
.card p{margin:0;color:var(--muted);font-size:14px}

.card .tags{display:flex;gap:8px;margin-top:auto}
.tag{
  background:rgba(255,255,255,0.02);
  padding:6px 9px;
  border-radius:999px;
  font-size:12px;
  color:var(--muted)
}

.contact{
  background:linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02));
  padding:36px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top: auto;
  margin-bottom: none;

}
.contact h4{margin:0}
.contact p{margin:0;color:var(--muted)}

footer{
  padding:27px;
  text-align:center;
  color:var(--muted);
  font-size:13px;
  display: inline-block;
}

@media (max-width:980px){
  .hero{
    grid-template-columns:1fr 320px;
    padding:36px 18px
  }
  .grid{
    grid-template-columns:repeat(2,1fr)
  }
}
@media (max-width:640px){
  .hero{
    grid-template-columns:1fr;
    gap:18px;
    padding:28px 14px
  }
  .profile-card img{
    width:200px;height:200px
  }
  .grid{
    grid-template-columns:1fr
  }
  nav.main-nav{display:none}
}
 
a{color:inherit}
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}




.page-section {
  padding: 400px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

html {
  scroll-behavior: smooth; 
}


.about-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;     
  text-align: center;
}

.about-box {
  background: rgba(255,255,255,0.05);
  padding: 40px 60px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.25);
}

.btn-primary {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 22px;
  border-radius: 8px;
  border: 1px solid #00e0c3;
  color: #00e0c3;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #00e0c3;
  color: #0c1222;
}
